//
//  AFNTools.h
//  豆瓣
//
//  Created by dllo on 15/9/10.
//  Copyright (c) 2015年 . All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking.h>

typedef void(^AFNblock) (id result);
typedef void (^Fairblock) (id fail);

@interface AFNTools : NSObject

+ (void)getAFN:(NSString *)string andpara:(NSDictionary *)para andBlock:(AFNblock)block andfailBlock:(Fairblock)fairblock;

@end
